package com.yinear.grummy.config;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * ConfigService
 *
 * @author yinz
 * @date 2018/5/10
 */
public class ConfigService {

    private static KnightConfig knightConfig;

    @Autowired
    public ConfigService(KnightConfig knightConfig) {
        ConfigService.knightConfig = knightConfig;
    }

    public static KnightConfig getKnightConfig() {
        return knightConfig;
    }
}
